﻿using CSRedis;

namespace StudyCompanion.Commons.Helper;

public static class StartupHelp
{
    /// <summary>
    ///     初始化redis连接
    /// </summary>
    /// <param name="link"></param>
    public static void InitRedis(string link)
    {
        var csredis = new CSRedisClient(link);
        RedisHelper.Initialization(csredis);
    }
}